package com.oop.demo03;
//子类
public class Teacher extends Person {
    public Teacher() {
        super();
        System.out.println("毛泽东");
    }
    private String name = "小吴俊杰";
    public void sos() {
        System.out.println("Teacher");
    }
    public void test(String name){
        sos();
        this.sos();
        super.sos();


    }
}
